package com.intellagric.mapper;

import com.intellagric.pojo.TraceRecordTransport;
import com.intellagric.pojo.TraceRecordTransportExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceRecordTransportMapper {
    long countByExample(TraceRecordTransportExample example);

    int deleteByExample(TraceRecordTransportExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceRecordTransport record);

    int insertSelective(TraceRecordTransport record);

    List<TraceRecordTransport> selectByExample(TraceRecordTransportExample example);

    TraceRecordTransport selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceRecordTransport record, @Param("example") TraceRecordTransportExample example);

    int updateByExample(@Param("record") TraceRecordTransport record, @Param("example") TraceRecordTransportExample example);

    int updateByPrimaryKeySelective(TraceRecordTransport record);

    int updateByPrimaryKey(TraceRecordTransport record);
}